﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ModuleLeft_SanPhamHot.ascx.cs"
    Inherits="TTMarketing.CameraUserControl.SanPhamHot.ModuleCenter_SanPhamHot" %>
<asp:DataList ID="dlHotProduct" runat="server" DataSourceID="odsProduct" Width="100%">
    <itemtemplate>
                                    <table style="width: 100%;">
                                        <tr>
                                            <td class="link-nomarl">
                                                <img alt="&quot;&quot;" src="Styles/Images/list_arrow.png" style="width: 9px; height: 12px" />
                                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("ID", "~/san-pham.aspx?ID={0}") %>'
                                                    Text='<%# Eval("Name") %>'></asp:HyperLink>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <a href='<%# Eval("id", "/san-pham.aspx?id={0}") %>' id="link" runat="server" title='<%# Eval("name") %>'>
                                                    <img alt='<%# Eval("name") %>' class="news-photo" src='<%# Eval("Image", "../Image/Upload/{0}") %>' />
                                                </a>
                                            </td>
                                        </tr>
                                    </table>
                                </itemtemplate>
</asp:DataList>
<asp:ObjectDataSource ID="odsProduct" runat="server" SelectMethod="Product_getTopHOT"
    TypeName="TTController.clsCTProcess">
    <selectparameters>
                    <asp:Parameter DefaultValue="4" Name="statusID" Type="Int32" />
                    <asp:Parameter DefaultValue="5" Name="top" Type="Int32" />
                    <asp:Parameter DefaultValue="true" Name="status" Type="Boolean" />
                    <asp:Parameter DefaultValue="true" Name="visible" Type="Boolean" />
                </selectparameters>
</asp:ObjectDataSource>
